package com.blb.article_ms.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.blb.article_ms.entity.po.ArticlePO;
import com.blb.article_ms.entity.vo.ArticleVO;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xray
 * @since 2023-06-14
 */
public interface ArticleMapper extends BaseMapper<ArticlePO> {

    /**
     * 文章的模糊查询+分页
     * @param page
     * @param title
     * @param content
     * @return
     */
    Page<ArticleVO> selectArticlePage(Page<?> page, String title, String content);
}
